/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.appspot.trick.it.admin.converter;

import com.appspot.trick.it.admin.db.SiteMstEntity;
import javafx.util.StringConverter;

/**
 *
 * @author imamura
 */
public class AccountChoiceBoxConverter extends StringConverter<SiteMstEntity> {

    @Override
    public String toString(SiteMstEntity entity) {
        return entity != null ? entity.appId : null;
    }

    @Override
    public SiteMstEntity fromString(String string) {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }

}
